package cn.com.bod.fas.pm.model.po;

import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;

import java.io.Serializable;
import javax.persistence.*;


/**
 * @description 客户账号信息表
 * @author houyaoxun
 * @date 2019年9月25日
 * @version 1.0.0
 * @Copyright (c) scfhdt
 */
@Entity
@Table(name = "cu_cust_acct")
public class CuCustAcct extends BaseDomain implements Serializable{
	private static final long serialVersionUID = 1L;
	
	/** 账户ID **/
	@Id
	@Column(name = "ACCT_ID")
	private Integer acctId;

	/** 客户编号 **/
	@Column(name = "CUST_NO", unique = false, nullable = true, length = 20)
	private String custNo;
	
	/** 账户类型 **/
	@Column(name = "ACCT_TYPE_ID", unique = false, nullable = false, length = 1)
	private String acctTypeId;
	
	/** 户名 **/
	@Column(name = "ACCT_NAME", unique = false, nullable = false, length = 30)
	private String acctName;
	
	/** 开户行 **/
	@Column(name = "OPEN_ACCT_ORG", unique = false, nullable = false, length = 50)
	private String openAcctOrg;
	
	/** 账号 **/
	@Column(name = "ACCT_NO", unique = false, nullable = false, length = 20)
	private String acctNo;
	
	/** 基本账户是否在本机构 **/
	@Column(name = "CURR_ORG_BASE_ACCT_FLAG", unique = false, nullable = true, length = 2)
	private String currOrgBaseAcctFlag;
	
	/** 数据状态 **/
	@Column(name = "ACCT_STATUS", unique = false, nullable = true, length = 1)
	private String acctStatus;
	
	
	/**
	 * @param acctId
	 */
	public void setAcctId(Integer acctId) {
		this.acctId = acctId;
	}
	
    /**
     * @return AcctId
     */	
	public Integer getAcctId() {
		return this.acctId;
	}
	
	/**
	 * @param custNo
	 */
	public void setCustNo(String custNo) {
		this.custNo = custNo == null ? null : custNo.trim();
	}
	
    /**
     * @return CustNo
     */	
	public String getCustNo() {
		return this.custNo;
	}
	
	/**
	 * @param acctTypeId
	 */
	public void setAcctTypeId(String acctTypeId) {
		this.acctTypeId = acctTypeId == null ? null : acctTypeId.trim();
	}
	
    /**
     * @return AcctTypeId
     */	
	public String getAcctTypeId() {
		return this.acctTypeId;
	}
	
	/**
	 * @param acctName
	 */
	public void setAcctName(String acctName) {
		this.acctName = acctName == null ? null : acctName.trim();
	}
	
    /**
     * @return AcctName
     */	
	public String getAcctName() {
		return this.acctName;
	}
	
	/**
	 * @param openAcctOrg
	 */
	public void setOpenAcctOrg(String openAcctOrg) {
		this.openAcctOrg = openAcctOrg == null ? null : openAcctOrg.trim();
	}
	
    /**
     * @return OpenAcctOrg
     */	
	public String getOpenAcctOrg() {
		return this.openAcctOrg;
	}
	
	/**
	 * @param acctNo
	 */
	public void setAcctNo(String acctNo) {
		this.acctNo = acctNo == null ? null : acctNo.trim();
	}
	
    /**
     * @return AcctNo
     */	
	public String getAcctNo() {
		return this.acctNo;
	}
	
	/**
	 * @param currOrgBaseAcctFlag
	 */
	public void setCurrOrgBaseAcctFlag(String currOrgBaseAcctFlag) {
		this.currOrgBaseAcctFlag = currOrgBaseAcctFlag == null ? null : currOrgBaseAcctFlag.trim();
	}
	
    /**
     * @return CurrOrgBaseAcctFlag
     */	
	public String getCurrOrgBaseAcctFlag() {
		return this.currOrgBaseAcctFlag;
	}
	
	/**
	 * @param acctStatus
	 */
	public void setAcctStatus(String acctStatus) {
		this.acctStatus = acctStatus == null ? null : acctStatus.trim();
	}
	
    /**
     * @return AcctStatus
     */	
	public String getAcctStatus() {
		return this.acctStatus;
	}


}